'cy' is not defined
FIXED
https://gyazo.com/593855af0e9dbffc2a79337a1d8ce38d
eslint
$ npm install eslint-plugin-cypress
Add .eslintrc.json to cypress directory
code:json
{
"extends": [
"plugin:cypress/recommended"
]
}
reactjs - ESLint: 'cy' is not defined (Cypress) - Stack Overflow